package com.tgpms.web.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;

/**
 * <p>
 * 环保系统菜单表
 * </p>
 *
 * @author newway
 * @since 2020-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("HB_SYS_MENU")
@ApiModel(value="HbSysMenu对象", description="环保系统菜单表")
public class HbSysMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单主键")
    @TableId(value = "ID" , type = IdType.INPUT)
    private String id;

    @ApiModelProperty(value = "菜单名称")
    @TableField(value = "MENU_NAME")
    private String menuName;

    @ApiModelProperty(value = "菜单地址")
    @TableField(value = "MENU_URL")
    private String menuUrl;

    @ApiModelProperty(value = "父id")
    @TableField(value = "PARENT_ID")
    private String parentId;

    @ApiModelProperty(value = "菜单类型")
    @TableField(value = "MENU_TYPE")
    private String menuType;

    @ApiModelProperty(value = "菜单图标")
    @TableField(value = "MENU_ICON")
    private String menuIcon;

    @ApiModelProperty(value = "菜单排序")
    @TableField(value = "MENU_ORDER")
    private String menuOrder;

    @ApiModelProperty(value = "工程编码")
    @TableField(value = "PROJECT")
    private String project;

    @ApiModelProperty(value = "插入人")
    @TableField(value = "INSERT_USER")
    private String insertUser;

    @ApiModelProperty(value = "插入时间")
    @TableField(value = "INSERT_DATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date insertDate;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "MODIFY_USER")
    private String modifyUser;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "MODIFY_DATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    
    @ApiModelProperty(value = "菜单页面地址")
    @TableField(value = "MENU_PATH")
    private String menuPath;


}